<!DOCTYPE html>
<html lang="en">
	<head>
		<meta charset="utf-8">
		<title>韩氏家居3周年店庆</title>
		<meta name="viewport" content="initial-scale=1.0,width=device-width,user-scalable=0,maximum-scale=1.0"/>
		<meta name="description" content="IKazs 韩氏家居为您提供全屋家具定制整体家装配套。韩氏家居3周年活动暨迎五一大放价，全屋定制仅16800元!" />
		<style>
			body,ul{padding: 0; margin: 0;}
			ul li{list-style: none;}
			h1,h2,h3,h4{margin-top: 0;}
			
			.row.first .dec{margin: 10px 10px 30px 10px;}
			.row .dec{margin-left: 10px;}
			.row .dec .opt{text-align: center;}
			.row .dec .opt a{display: inline-block; margin: 10px auto; padding: 5px 10px; letter-spacing: .1em; border-radius: 5px; text-decoration: none; background-color: #D84C29; color: #fff;}
			.row .dec .opt a{}
			
			.row.sign{height: 260px; margin-top: 10px; background-color: #D84C29; padding: 20px 10px; text-align: center;}
			.row.sign h4{color: #fff; font-size: 1.4em;}
			.row.sign input{width: 80%; height: 1.8em; margin-top: 5px; padding: 3px; outline: #fff; border-radius: 5px; border: 1px solid #fff;}
			.row.sign input[type='button']{margin-top: 10px; padding: 5px 0; color: #D84C29; font-size: 1.2em; font-weight: bold; background-color: #fff;}
			.row.sign .tips{margin-top: 10px; color: #fff; font-size: .4em;}
		</style>
<script>
var _hmt = _hmt || [];
(function() {
  var hm = document.createElement("script");
  hm.src = "https://hm.baidu.com/hm.js?4a0f65a7b770093a33749956ad3bb14f";
  var s = document.getElementsByTagName("script")[0]; 
  s.parentNode.insertBefore(hm, s);
})();
</script>
	</head>
	<body>
		<div class="wrapper" id="wrapper" style="display: none;">
			<div class="row first">
				<img src="v1/1.jpg" alt="韩氏家居全屋定制仅16800元" />
				<div class="dec">
					<h3>韩氏家居3周年活动暨迎五一大放价</h3>
					<ul>
						<li>风格多样，设计免费。</li>
						<li>收纳扩容，一家搞定。</li>
						<li>现在报名，全屋定制仅16800元！</li>
						<li>300个名额递减中，手慢无！</li>
					</ul>
					<div class="opt"><a class="btn mt10" href="#signWrapper">报名抢名额</a></div>
				</div>
			</div>
			<div class="row">
				<img src="v1/6.jpg" alt="卧室" />
				<div class="dec">
					<h4>卧室效果图</h4>
				</div>
			</div>
			<div class="row">
				<img src="v1/2.jpg" alt="儿童房" />
				<div class="dec">
					<h4>儿童房效果图</h4>
				</div>
			</div>
			<div class="row">
				<img src="v1/3.jpg" alt="榻榻米" />
				<div class="dec">
					<h4>榻榻米效果图</h4>
				</div>
			</div>
			<div class="row">
				<img src="v1/5.jpg" alt="客厅" />
				<div class="dec">
					<h4>客厅效果图</h4>
				</div>
			</div>
			<div class="row">
				<img src="v1/4.jpg" alt="厨房" />
				<div class="dec">
					<h4>厨房效果图</h4>
				</div>
			</div>
			
			<div class="row sign" id="signWrapper">
				<h4 style="margin-bottom: 10px;">预约全屋家居定制</h4>
				<div style="margin-bottom: 20px; color: #edd;">样板间：绿地璀璨天城7-2306</div>
				<form id="signForm">
					<div>
						<input type="text" name="realName" id="realName" placeholder="姓名" />
						<input type="number" name="phone" id="phone" placeholder="手机" maxlength="12"/>
						<input type="hidden" name="fromSrc" id="fromSrc" value="0"/>
					</div>
					<input id="signBtn" type="button" value="点击领取限量名额" />
					
					<div class="tips">*您的信息将会被严格保密</div>
				</form>
			</div>
		</div>
		
	<script src="../js/jquery.js"></script>	
	<script src="http://res.wx.qq.com/open/js/jweixin-1.2.0.js"></script>
	<script src="js/common.js"></script>	
	<script type="text/javascript">
		// 对浏览器的UserAgent进行正则匹配，不含有微信独有标识的则为其他浏览器  
	    var useragent = navigator.userAgent; 
	    if (useragent.match(/MicroMessenger/i) != 'MicroMessenger') {  
	        // 这里警告框会阻塞当前页面继续加载
	        $('body').html('<div style="margin:10px;">请您使用微信内置浏览器访问本页面！</div>');  
	    }else{
	    	$('#wrapper').show();
	    }
	    
	    var imglist =document.getElementsByTagName("img");  
		var _width, _height;  
	    $(function(){  
			doDraw();  
			window.onresize = function(){  
			    doDraw();  
			}  
			
		});


		//微信分享
		var DESC = "抢先看样板间：绿地璀璨天城7-2306。300个限量名额递减中，手慢无！";
		var LINK = "http://www.ikazs.com/wx/v1yangban.html";
	    var _url = location.href.split('#').toString();//url不能写死
	    $.ajax({
	        type : "get",
	        url : "http://www.ikazs.com/halu-web/getJSsdkParam",
	        dataType : "json",
	        async : false,
	        data:{url: _url},
	        success : function(data) {
	            wx.config({
	                debug: false,////生产环境需要关闭debug模式
	                appId: data.appid,//appId通过微信服务号后台查看
	                timestamp: data.timestamp,//生成签名的时间戳
	                nonceStr: data.nonceStr,//生成签名的随机字符串
	                signature: data.signature,//签名
	                jsApiList: [//需要调用的JS接口列表
	                    'checkJsApi',//判断当前客户端版本是否支持指定JS接口
	                    'onMenuShareTimeline',//分享到朋友圈
	                    'onMenuShareAppMessage',//分享给好友
	                    'onMenuShareQQ',
	                    'onMenuShareWeibo'
	                ]
	            });
	        },
	        error: function(xhr, status, error) {
	            //alert(status);
	            //alert(xhr.responseText);
	        }
	    });
	</script>
	</body> 
</html>
